let mongodb = require("mongoose")
let Schema = mongodb.Schema

let UserType = {
    username:String,
    password:String,
    headImg:String,
    role:Number,//管理员
    introduction:String,//简介
    gender:Number,//性别 0 1 2
}
let UserModel =  mongodb.model("user",new Schema( UserType ))
module.exports = UserModel